home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / vdu.zip / VDU.DOC < prev    next >
Text File  |  1992-04-26  |  4KB  |  90 lines

  1.  
  2.  
  3.                            Visual Disk Usage
  4.  
  5.                           by Paul Gauthier, of
  6.                      Cerebral Computer Technologies
  7.                          Dartmouth, NS, Canada.
  8.  
  9.                          (902) 462-8217 (voice)
  10.                          (902) 420-1675 (fax)
  11.  
  12.                     Internet: gauthier@ug.cs.dal.ca
  13.  
  14.  VDU is copyright 1992 by Cerebral Computer Technologies, all rights reserved.
  15.      THIS PROGRAM IS FREE, AND WITHOUT WARRANTY. YOU GET WHAT YOU PAY FOR.
  16.  
  17.  
  18.  
  19. After a week of 12 hour work days trying to meet a make-or-break-the-company
  20. deadline (which of course was insanely optimistic to start out) trying to
  21. recover from a fatal hard drive crash, what would any self respecting
  22. programmer do to wind down? You guessed it: write a silly little utility
  23. program! And thus VDU was born.
  24.  
  25. VDU was inspired by Murphy's Law of Disk Usage:
  26.  
  27.         No matter how large your hard drive is,
  28.                 you'll fill it a month after buying it.
  29.  
  30. As my available hard drive space has grown from 20M to 40M, 110M, and finally
  31. to 330M I've noticed this law rings true. My drive rapidly fills to 80 or
  32. 90% capacity; at which point I have to start doing periodic clean ups of
  33. junk files which are sucking up my valuable hard drive space.
  34.  
  35. The problem is: the larger the hard drive, the harder it is to find all those
  36. pockets of large disk usage which can be purged to free up a reasonable amount
  37. of space. You can't remember exactly where you left that pile of temporary
  38. files, etc.
  39.  
  40. VTREE will show you a nice picture of your directory tree, and DIR will show
  41. you how much space is taken up in each directory. But there's no way to display
  42. a directory tree and the amount of space used by each directory in a useful,
  43. readable display. This is what VDU attempts to do. It will construct a
  44. VTREE-like directory tree display, but to the left of each entry is the
  45. number of kilobytes of files located in the branch of the tree below and
  46. including that directory.
  47.  
  48. This form of output allows you to identify entire branches of the tree which
  49. are sucking up vast quantities of disk space. Following the directory's name,
  50. if the directory is non-terminal (ie, it has subdirectories), is the number of
  51. kilobytes of files actually living in that directory.
  52.  
  53. As an example:
  54.  
  55.     30452 └─C:\ (586)┐
  56.                14250 ├─NUMERICS (13136)
  57.                      │      406 ├─ZIPS
  58.                      │      282 ├─PAUL1
  59.                      │      212 ├─CRIS1
  60.                      │      116 ├─PREOPT
  61.                      │       92 ├─TIME
  62.                      │        6 └─RESULTS
  63.                 8848 ├─COMM (2178)
  64.                      │     6020 ├─DL
  65.                      │      532 ├─BGFT
  66.                      │      118 ├─UWWIN
  67.                      │        0 └─HOST
  68.                 7336 ├─WINDOWS (4226)
  69.                      │     2438 ├─SYSTEM
  70.                      │      672 ├─UC
  71.                      │        0 └─TEMP
  72.                   18 └─NEWGAME
  73.  
  74. In this example the entire disk holds 30,452K worth of files. 586K is located
  75. in the root directory, and 14,250K is located in C:\NUMERICS _and below_. Of
  76. the 14,250K in the C:\NUMERICS branch of the tree, 13,136K of it is actually in
  77. C:\NUMERICS, while 406K is in ZIPS, etc, etc.
  78.  
  79. VDU will sort the listing, at each indendtation level, so that entries with the
  80. largest disk usage are displayed first. VDU also uses the cluster size of the
  81. drive being scanned to display the actual amount of disk space being used by
  82. the files (since space is allocated in cluster sized chunks).
  83.  
  84. Hope you enjoy this program.
  85.  
  86. Feedback is most welcome, feel free to send electronic mail to me on the
  87. Internet or via connected networks (gauthier@ug.cs.dal.ca), drop me a fax at
  88. (902) 420-1675, or call me voice (902) 462-8217.
  89.  
  90.